<template>
  <div class="enter">
    <img :class="isPhone?'return':'return1'" @click="$router.go(-1)" src="../assets1/rlive.png"/>
  </div>
</template>
<script>
export default { props: ["isPhone"],
  data() {
    return {}
  },
  computed: {//计算属性

  },
  beforeCreate() {//beforeCreate创建前状态

  },
  created() {//created创建完毕状态

  },
  beforeMount() {//beforeMount挂载前状态   DOM 元素然后塞入页面的过程

  },
  mounted() {//mounted 挂载结束状态

  },
  methods: {//执行的方法

  },
  watch: {//监听

  },
  beforeUpdate() {//beforeUpdate 更新前状态

  },
  updated() {//updated 更新完成状态

  },
  beforeDestroy() {//beforeDestroy 销毁前状态

  },
  destroyed() {//destroyed 销毁完成状态

  }
}
</script>
<style scoped>
.enter {
  position: fixed;
  bottom: 3rem;
  right: 0;
}

.return {
  width: 1.2rem;
}

.return1 {
  width: 0.8rem;
}
</style>
